#define _CRT_SECURE_NO_WARNINGS 1
#include"SeqList.h"

int main()
{
	SL s1;
	SeqListInit(&s1);
	SeqListPushFront(&s1, 1);
	SeqListPushFront(&s1, 2);
	SeqListPushFront(&s1, 3);
	SeqListPushFront(&s1, 4);
	SeqListPushFront(&s1, 5);
	SeqListPushFront(&s1, 6);
	SeqListPushFront(&s1, 7);
	SeqListPushFront(&s1, 8);
	SeqListPushFront(&s1, 9);
	int pos = SeqListFind(&s1, 3);
	if (pos != -1)
	{
		SeqListErase(&s1, pos);
	}
	SeqListPopFront(&s1);
	SeqListPushBack(&s1,3);
	SeqListPopBack(&s1);
	SeqListInsert(&s1, 0, 2);
	SeqListErase(&s1, 1);
	SeqListModify(&s1, 0, 3);
	SeqListPrint(&s1);
	SeqListDestory(&s1);
	return 0;
}